package priv.mill.observer;

public class PeiCaiShi extends Observ {


	public PeiCaiShi(CanZhuo cz) {
		super(cz);
	}

	@Override
	public void comeHanler(String name) {
		if(name.startsWith("张"))
			System.out.println("我是配菜师，%s您回吧，我累了歇着呢！");
		System.out.printf("我是配菜师，%s，我配的菜好吃的不得了！\n",name);

	}
}
